﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RearLivestock.Common.Dtos
{
    public class DepartmentDto
    {
        /// <summary>
        /// 主键id
        /// </summary>
        public int DepartmentId { get; set; }

        /// <summary>
        ///父级ID
        /// </summary>
        public int Pid { get; set; }

        /// <summary>
        /// 部门名称
        /// </summary>
        public string DepartmentName { get; set; } = string.Empty;

        /// <summary>
        /// 部门状态 1-启用 0-禁用
        /// </summary>
        public int DepartmentStatus { get; set; }

        /// <summary>
        /// 部门类型
        /// </summary>
        public int DepartmentTypeId { get; set; }

        /// <summary>
        /// 部门区域ID
        /// </summary>
        public string DepartmentAreaIds { get; set; } = string.Empty;

        /// <summary>
        /// 部门区域名称
        /// </summary>
        public string DepartmentAreaNames { get; set; } = string.Empty;

        /// <summary>
        /// 直接上级
        /// </summary>
        public string DirectSupervisor { get; set; } = string.Empty;

        /// <summary>
        /// 部门主管
        /// </summary>
        public string DepartmentManager { get; set; } = string.Empty;

        /// <summary>
        /// 分管负责人
        /// </summary>
        public string ResponsiblePerson { get; set; } = string.Empty;

        /// <summary>
        /// 财务主管
        /// </summary>
        public string FinanceSupervisor { get; set; } = string.Empty;

        /// <summary>
        /// 可查看人员
        /// </summary>
        public string Viewableperson { get; set; } = string.Empty;

        /// <summary>
        /// 职能体系
        /// </summary>
        public string Functionalsystem { get; set; } = string.Empty;

        /// <summary>
        /// 操作人
        /// </summary>
        public string Operator { get; set; } = string.Empty;

        /// <summary>
        /// 操作时间
        /// </summary>
        public DateTime? OperationTime { get; set; }

        /// <summary>
        /// 部门类型名称
        /// </summary>
        public string DepartmentTypeName { get; set; }
    }
}
